package cn.JunitTest;

import cn.dao.RoleDAO;
import cn.impl.RoleDAOImpl;
import org.junit.Before;
import org.junit.Test;

import static org.junit.Assert.*;

public class RoleDAOImplTest {

     /* 构造方法重载基类的ForumContentDAOImpl()
     */
    RoleDAO udao = null;
    @Before
    public void init()
    {
        udao = new RoleDAOImpl();
    }
    @Test
    public void addRole() {
    }

    @Test
    public void deleteRole() {
    }

    @Test
    public void modifyRole() {
    }

    @Test
    public void getRoleById() {
    }

    @Test
    public void getAllRoleListByPage() {
        System.out.println(udao.getAllRoles());
    }

    @Test
    public void getAllRolePageAmount() {
    }

    @Test
    public void getAllRoles() {
    }

    @Test
    public void getRoleListByPage() {
    }

    @Test
    public void getRoleAmount() {
    }
}